﻿using System;
using System.Drawing.Design;
using System.ComponentModel;
using System.Windows.Forms.Design;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using EnvDTE;
using Microsoft.Practices.ComponentModel;

namespace SteriaMummert.SharePoint.SoftwareFactoryLite.Editors
{
    [ServiceDependency(typeof(DTE))]
    public class SharePointConfigurationSiteColumnsEditor : BaseSharePointConfigurationEditor
    {
        public SharePointConfigurationSiteColumnsEditor()
        {
            internalGroup = "Fields in this Application";
            internalXPath = "/ns:Elements/ns:Field";
            internalNamespace = "http://schemas.microsoft.com/sharepoint/";
            internalID = "ID";
            internalName = "Name";
            
            externalXPath = "/SharePointConfiguration/ns:Fields/ns:Field";
            externalNamespace.Add("ns", "http://schemas.microsoft.com/sharepoint/soap/");
            externalID = "ID";
            externalName = "Name";
            externalGroupBy = "Group";
        }
    }
}
